package com.ldc.common.utils;

public class StringUtils {

    public static boolean isEmpty(String obj) {
        return obj == null || obj.length() == 0;
    }

    public static boolean isNotEmpty(String obj) {
        return !isEmpty(obj);
    }


    public static int getSize(String obj) {
        if (isEmpty(obj)) {
            return 0;
        } else {
            return obj.length();
        }
    }
}
